Carbon


IsWindowModified

Header: MacWindows.h Carbon status: Supported

Obtains the modification state of the specified window.

Boolean IsWindowModified (
    WindowRef window
);
window

A pointer to the window whose modification state is to be obtained.

function result

true if the content of the window has been modified; otherwise, false. Newly created windows start out with their modification state automatically set to true.

DISCUSSION

Your application can use the functions IsWindowModified and SetWindowModified instead of maintaining its own separate record of the modification state of the content of a window.

VERSION NOTES

This function is available with Mac OS 8.5 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when WindowsLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by WindowsLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)